package method.method1204;

public class name01 {
    public static void main(String[] args) {
        name1 n=new name1();
        n.setAge(-20);
        int age=n.getAge();
        System.out.println("年龄为："+age);
        n.setName("李四");
        String name=n.getName();
        System.out.println("名字为："+name);
    }
}
